home *** CD-ROM | disk | FTP | other *** search
/ Aminet 20 / Aminet 20 (1997)(GTI - Schatztruhe)[!][Aug 1997].iso / Aminet / dev / misc / TdDBdevkit.lha / DataBase / TdDBase_lib.fd next >
Text File  |  1996-06-10  |  1KB  |  54 lines

  1. ##base _TdDBase
  2. ##bias 30
  3. ##public
  4. *
  5. * grundläggande hanteringsrutiner.
  6. *
  7. TDDB_CreateBaseA(Namn,Typ)(a0,d0/d1,a1)
  8. TDDB_OpenBase(Namn)(a0)
  9. TDDB_CloseBase(DBase)(a0)
  10. TDDB_CopyBase(FromBase,Namn)(a0/a1)
  11. *
  12. * Nodehanteringsrutiner
  13. *
  14. TDDB_NewNode(DBase)(a0)
  15. TDDB_DeleteNode(DBase,Nummer)(a0,d0)
  16. TDDB_GetNode(DBase, Nummer, Flags)(a0,d0/d1)
  17. TDDB_FreeNode(DBase, Node)(a0/a1)
  18. TDDB_LockNode(DBase, Nummer)(a0,d0)
  19. TDDB_UnLockNode(DBase,Nummer)(a0,d0)
  20. TDDB_CopyNode(FromBase,FromNr,ToBase,ToNr)(a0,d0,a1,d1)
  21. TDDB_FlushNodes(DBase)(a0)
  22. TDDB_SwapNodes(DBase, Node1,Node2)(a0,d0/d1)
  23. *
  24. * Datahanteringsrutiner
  25. *
  26. TDDB_GetDataListA(Node,CmdArray)(a0/a1)
  27. TDDB_SetDataListA(DBase, Node, CmdArray)(a0/a1/a2)
  28. TDDB_SetData(Handle,Node,ID,Data)(a0/a1,d0/d1)
  29. TDDB_GetDataValue(DataList,ID)(a0,d0)
  30. TDDB_GetDataItem(DataList,ID)(a0,d0)
  31. *
  32. * Meddelandefunktioner
  33. *
  34. TDDB_InstallMsg(Handle,Msg)(a0/a1)
  35. TDDB_AbortMsg(DBase,Msg)(a0/a1)
  36. TDDB_ForceUpdate(DBase,NodeNr)(a0,d0)
  37. *
  38. * Sökfunktioner
  39. *
  40. TDDB_SeekBaseA(Handle,CmpFunc,SeekData,Tags)(a0/a1/a2/a3)
  41. TDDB_FindIntA(DBase,ID, Nummer,Tags)(a0,d0/d1,a1)
  42. TDDB_FindStringA(DBase,ID,Str,Tags)(a0,d0,a1/a2)
  43. *
  44. * Rutiner för skapandet av listor.
  45. *
  46. TDDB_MakeList(Handle,List,ID)(a0/a1,d0)
  47. TDDB_UpdateList(Handle,List,ID)(a0/a1,d0)
  48. TDDB_FreeList(Handle,List)(a0/a1)
  49. *
  50. * Rutiner för att hitta mer matnyttiga strukturer.
  51. *
  52. TDDB_GetDBFromNode(Node)(a0)
  53. TDDB_GetHandle(DBase)(a0)
  54. ##end